home *** CD-ROM | disk | FTP | other *** search
- import a.a.b.a.c;
- import javax.microedition.lcdui.Command;
- import javax.microedition.lcdui.CommandListener;
- import javax.microedition.lcdui.Display;
- import javax.microedition.lcdui.Displayable;
- import javax.microedition.lcdui.Form;
- import javax.microedition.midlet.MIDlet;
-
- public final class MobileSafeMidlet extends MIDlet implements CommandListener {
- // $FF: renamed from: a a.a.b.a.c
- private c field_0 = new c(this, Display.getDisplay(this));
-
- protected void pauseApp() {
- }
-
- protected void destroyApp(boolean var1) {
- }
-
- protected void startApp() {
- try {
- this.field_0.do("Graphic");
- } catch (Exception var4) {
- Form var2 = new Form("Unable to Start");
- ((Displayable)var2).setCommandListener(this);
- ((Displayable)var2).addCommand(new Command("Exit", 7, 1));
- Display var3 = Display.getDisplay(this);
- var3.setCurrent(var2);
- }
-
- }
-
- public void commandAction(Command var1, Displayable var2) {
- if (var1.getCommandType() == 7) {
- this.field_0.byte();
- this.destroyApp(false);
- ((MIDlet)this).notifyDestroyed();
- } else {
- this.field_0.commandAction(var1, var2);
- }
-
- }
- }
-